package com.fancy.learncenter.adapter;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.widget.TextView;

import com.facebook.drawee.view.SimpleDraweeView;
import com.fancy.learncenter.activity.TrainApplyDetailActivity;
import com.fancy.learncenter.adapter.base.CommonRecycleViewAdapter;
import com.fancy.learncenter.adapter.base.CustomViewHold;
import com.fancy.learncenter.bean.MsgSysDataBean;
import com.fancy.learncenter.bean.TrainApplyListDataBean;
import com.superservice.lya.R;

import java.util.ArrayList;

/**
 * Created by hyy on 2018/2/24.
 * Explain activity as
 */

public class MsgXTadapter extends CommonRecycleViewAdapter<MsgSysDataBean.ListBean> {
    public MsgXTadapter(Context mContext, ArrayList<MsgSysDataBean.ListBean> itemDatas) {
        super(mContext, R.layout.item_xitong_msg, itemDatas);
    }


    @Override
    public void bindView(CustomViewHold customViewHold, MsgSysDataBean.ListBean item, int position) {

        TextView time = customViewHold.getView(R.id.time);
        time.setText(item.getAdd_time());

        TextView content = customViewHold.getView(R.id.content);
        content.setText(item.getContent());

    }
}
